home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / DomonicDefence4.swf / scripts / DefineButton2_1256 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2005-09-27  |  466 b   |  25 lines

  1. on(release){
  2.    saveLagPg1 = true;
  3.    if(_root.healSpell == 1)
  4.    {
  5.       healLag = restoreHp.timey.timer;
  6.    }
  7.    if(_root.swordSpell == 1)
  8.    {
  9.       swordLag = summon_Sword.timey.timer;
  10.    }
  11.    if(_root.rockSpell == 1)
  12.    {
  13.       rockLag = bigRock.timey.timer;
  14.    }
  15.    if(_root.axeSpell == 1)
  16.    {
  17.       axeLag = summon_Axe.timey.timer;
  18.    }
  19.    if(_root.maceSpell == 1)
  20.    {
  21.       maceLag = summon_Mace.timey.timer;
  22.    }
  23.    nextFrame();
  24. }
  25.